import { IsNotEmpty, MaxLength } from "class-validator";

export class EditRoleDto {

  @IsNotEmpty()
  id: number

  @IsNotEmpty()
  @MaxLength(30)
  roleName: string;
}